package com.android.duininsuoai.model.group;

import com.android.duininsuoai.utils.MyLog;
import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/9/22.
 */

public abstract class FlowPaymentDataCallback  extends Callback< FlowPaymentData> {

 @Override
public  FlowPaymentData parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
     MyLog.e("FlowPaymentData",string);
    FlowPaymentData data = new Gson().fromJson(string,  FlowPaymentData.class);
        return data;
        }
        }

